all: with_iopl list_env

list_env: list_env.c
	gcc list_env.c -o list_env

with_iopl: with_iopl.c
	gcc with_iopl.c -o with_iopl
	
install: with_iopl
	cp with_iopl /usr/bin/with_iopl
	chown root /usr/bin/with_iopl	
	chmod uog+rx-w+s /usr/bin/with_iopl

clean:
	rm -f with_iopl
	rm -f /usr/bin/with_iopl

